package com.engine.pattern.pawn;

/**
 * @author jonathan
 * @author fabienne
 */
public abstract class Pawn
{
	/**
	 * 
	 */
	private Integer	moveFn		= null;
	/**
	 * 
	 */
	private String	owner		= null;
	/**
	 * 
	 */
	private Integer	playerId	= null;
	/**
	 * 
	 */
	private Boolean	upLeft		= null;
	/**
	 * 
	 */
	private Boolean	up			= null;
	/**
	 * 
	 */
	private Boolean	upRight		= null;
	/**
	 * 
	 */
	private Boolean	right		= null;
	/**
	 * 
	 */
	private Boolean	downRight	= null;
	/**
	 * 
	 */
	private Boolean	down		= null;
	/**
	 * 
	 */
	private Boolean	downLeft	= null;
	/**
	 * 
	 */
	private Boolean	left		= null;

	/**
	 * @param moveFn
	 * @param owner
	 * @param upLeft
	 * @param up
	 * @param upRight
	 * @param right
	 * @param downRight
	 * @param down
	 * @param downLeft
	 * @param left
	 */
	public Pawn(Integer moveFn, String owner, Boolean upLeft, Boolean up,
			Boolean upRight, Boolean right, Boolean downRight, Boolean down,
			Boolean downLeft, Boolean left)
	{
		super();
		this.moveFn = moveFn;
		this.owner = owner;
		this.upLeft = upLeft;
		this.up = up;
		this.upRight = upRight;
		this.right = right;
		this.downRight = downRight;
		this.down = down;
		this.downLeft = downLeft;
		this.left = left;
	}

	/**
	 * @return
	 */
	public Integer getMoveFn()
	{
		return moveFn;
	}

	/**
	 * @param moveFn
	 */
	public void setMoveFn(Integer moveFn)
	{
		this.moveFn = moveFn;
	}

	/**
	 * @param owner
	 */
	public void setOwner(String owner)
	{
		this.owner = owner;
	}

	/**
	 * @return
	 */
	public String getOwner()
	{
		return owner;
	}

	/**
	 * @return
	 */
	public Integer getPlayerId()
	{
		return playerId;
	}

	/**
	 * @param playerId
	 */
	public void setPlayerId(Integer playerId)
	{
		this.playerId = playerId;
	}

	/**
	 * @param upLeft
	 */
	public void setUpLeft(Boolean upLeft)
	{
		this.upLeft = upLeft;
	}

	/**
	 * @return
	 */
	public Boolean getUpLeft()
	{
		return upLeft;
	}

	/**
	 * @return
	 */
	public Boolean getUp()
	{
		return up;
	}

	/**
	 * @param up
	 */
	public void setUp(Boolean up)
	{
		this.up = up;
	}

	/**
	 * @return
	 */
	public Boolean getUpRight()
	{
		return upRight;
	}

	/**
	 * @param upRight
	 */
	public void setUpRight(Boolean upRight)
	{
		this.upRight = upRight;
	}

	/**
	 * @return
	 */
	public Boolean getRight()
	{
		return right;
	}

	/**
	 * @param right
	 */
	public void setRight(Boolean right)
	{
		this.right = right;
	}

	/**
	 * @return
	 */
	public Boolean getDownRight()
	{
		return downRight;
	}

	/**
	 * @param downRight
	 */
	public void setDownRight(Boolean downRight)
	{
		this.downRight = downRight;
	}

	/**
	 * @return
	 */
	public Boolean getDown()
	{
		return down;
	}

	/**
	 * @param down
	 */
	public void setDown(Boolean down)
	{
		this.down = down;
	}

	/**
	 * @return
	 */
	public Boolean getDownLeft()
	{
		return downLeft;
	}

	/**
	 * @param downLeft
	 */
	public void setDownLeft(Boolean downLeft)
	{
		this.downLeft = downLeft;
	}

	/**
	 * @return
	 */
	public Boolean getLeft()
	{
		return left;
	}

	/**
	 * @param left
	 */
	public void setLeft(Boolean left)
	{
		this.left = left;
	}

}
